/**
 * jims
 */
package com.jims.master.modules.patient.myAttention.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.base.user.entity.MasterBaseinfo;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * Entity
 * @author jct
 * @version 2018-06-07
 */
public class ElectronGroupConsultationInto extends DataEntity<ElectronGroupConsultationInto> {
	
	private static final long serialVersionUID = 1L;
	private String patientId;		// 患者id
	private String doctorId;		// 医生ID
	private String huizhenId;		// 参与会诊ID
	private String huizhenyijian;		// 会诊意见
	private Date querenshijian;		// 确认建议时间
	private Date jianyishijian;		// 填写建议时间
	private String confim;
	private ElectronGroupConsultation en;

	public ElectronGroupConsultation getEn() {
		return en;
	}

	public void setEn(ElectronGroupConsultation en) {
		this.en = en;
	}

	public String getConfim() {
		return confim;
	}

	public void setConfim(String confim) {
		this.confim = confim;
	}

	private MasterBaseinfo masterBaseinfo;

	public MasterBaseinfo getMasterBaseinfo() {
		return masterBaseinfo;
	}

	public void setMasterBaseinfo(MasterBaseinfo masterBaseinfo) {
		this.masterBaseinfo = masterBaseinfo;
	}

	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}

	public ElectronGroupConsultationInto() {
		super();
	}

	public ElectronGroupConsultationInto(String id){
		super(id);
	}

	@Length(min=0, max=64, message="医生ID长度必须介于 0 和 64 之间")
	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}
	
	@Length(min=0, max=64, message="参与会诊ID长度必须介于 0 和 64 之间")
	public String getHuizhenId() {
		return huizhenId;
	}

	public void setHuizhenId(String huizhenId) {
		this.huizhenId = huizhenId;
	}
	
	public String getHuizhenyijian() {
		return huizhenyijian;
	}

	public void setHuizhenyijian(String huizhenyijian) {
		this.huizhenyijian = huizhenyijian;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getQuerenshijian() {
		return querenshijian;
	}

	public void setQuerenshijian(Date querenshijian) {
		this.querenshijian = querenshijian;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getJianyishijian() {
		return jianyishijian;
	}

	public void setJianyishijian(Date jianyishijian) {
		this.jianyishijian = jianyishijian;
	}
	
}